package com.example.demo.service;


import com.example.demo.mapper.FirstpageMapper;
import com.example.demo.pojo.Catitems;
import com.example.demo.pojo.Swiperdata;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author yanglup
 * @create 2020-11-27 21:08
 */
@Service
public class FirstpageServiceImpl implements FirstpageService{
    @Autowired
    private FirstpageMapper firstpageMapper;

    /**轮播图*/
    @Override
    public List<Swiperdata> swiperdata() {
        return firstpageMapper.swiperdata();
    }

    /**导航*/
    @Override
    public List<Catitems> catitems() {
        return firstpageMapper.catitems();
    }
}
